{% load i18n %}
<div class="user_profile_column clearfix">
    <div class="space">
        <a href="{{frm_profile.link}}">{{frm_profile}}</a>
    </div>
    <div class="space">
        <a href='{{ frm_profile.link }}'>
            <img class="avatar" src='{{ frm_profile.avatar_url }}' alt='Avatar'></img></a>
        {% ifequal request.user frm_profile.user %}
        <div class="clearfix">
            <a href="{{ frm_profile.link.edit }}">{% trans "edit" %}</a>
        </div>
        {% endifequal %}
        <ul class="clear">
            {#<li class="clear"><a href='{{ frm_profile.link.all_topics }}'>#}
            {#    {% trans "All topics from user" %}</a></li>#}
            {#<li class="clear"><a href='{{ frm_profile.link.all_replies }}'>#}
            {#    {% trans "All replies from user" %}</a></li>#}
            
            {% ifnotequal request.user frm_profile.user %}
            <li class="clearfix" style='text-aling:center;padding-top:.5em; padding-bottom:.5em'>
                <a class="button" style="float:none" title='{% trans "Add as friend?" %}'
                    href='{{ frm_profile.link.add_friend }}'>{% trans "+ friend"%}</a>
                <a class="button" style="float:none" title='{% trans "Send private message?" %}'
                    href='{{ frm_profile.link.send_pvt }}'>{% trans "pvt"%}</a>
            </li>            
            {% endifnotequal %}
        </ul>
    </div>
</div>
